package cn.stylefeng.guns.modular.basic.mapper;

import cn.stylefeng.guns.modular.basic.entity.BasicStockuparea;
import cn.stylefeng.guns.modular.basic.model.params.BasicStockupareaParam;
import cn.stylefeng.guns.modular.basic.model.result.BasicStockupareaResult;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 备货区表 Mapper 接口
 */
public interface BasicStockupareaMapper extends BaseMapper<BasicStockuparea> {

    /**
     * 获取列表
     *
     * @author zhucx
     * @Date 2019-08-01
     */
    List<BasicStockupareaResult> customList(@Param("paramCondition") BasicStockupareaParam paramCondition, @Param("condition") String condition, @Param("deptId") Long deptId,@Param("operateId")Long operateId);

    /**
     * 获取map列表
     *
     * @author zhucx
     * @Date 2019-08-01
     */
    List<Map<String, Object>> customMapList(@Param("paramCondition") BasicStockupareaParam paramCondition);

    /**
     * 获取分页实体列表
     *
     * @author zhucx
     * @Date 2019-08-01
     */
    Page<BasicStockupareaResult> customPageList(@Param("page") Page page, @Param("paramCondition") BasicStockupareaParam paramCondition, @Param("condition") String condition
    		, @Param("deptId") Long deptId, @Param("operateId")Long operateId);

    /**
     * 获取分页map列表
     *
     * @author zhucx
     * @Date 2019-08-01
     */
    Page<Map<String, Object>> customPageMapList(@Param("page") Page page, @Param("paramCondition") BasicStockupareaParam paramCondition);

}
